package com.atguigu.gulimall.product.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrGroupEntity;
import com.atguigu.gulimall.product.vo.AttrGroupRespVO;
import com.atguigu.gulimall.product.vo.AttrRespVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author LiQianJin
 * @email 18410584912@qq.com
 * @date 2024-03-30 14:43:23
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    // 获取分类属性分组
    PageUtils queryAttrGroupDetailInfoPage(Map<String, Object> params, Long catelogId);

    // 获取属性分组详情
    AttrGroupRespVO queryAttrGroupInfo(Long attrGroupId);

    //获取属性分组关联的所有属性
    List<AttrRespVO> queryAttrGroupRelationInfo(Long attrGroupId);

    // 批量删除
    void batchRemove(List<Long> idList);
}

